home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / EDITORS / UEMACS / !uemacs / !emacs / emacshelp next >
Text File  |  1988-08-15  |  9KB  |  280 lines

  1.  
  2. =>  MicroEMACS 3.9 Help screens  (01/18/88)
  3.  
  4.  M-  means to use the <ESC> key prior to using another key
  5.  ^A  means to use the control key at the same time as the A key
  6.  
  7. ^V or [Pg Dn]     Scroll down  M-< or <HOME> Begining of file
  8. ^Z or [Pg Up]     Scroll up  M-> or <END> End of file
  9.  
  10. -----------------------------------------------------------------------
  11. =>  (1) MOVING THE CURSOR
  12.  
  13. ^F  Forward character   M-F    Forward word  Keypad arrows
  14. ^B  Backward character  M-B    Backward word  are active!
  15. ^A  Front of line M-G    Goto a line
  16. ^E  End of line  
  17. ^N  Next line  M-N    Front of paragraph
  18. ^P  Previous line M-P    End of paragraph
  19. -----------------------------------------------------------------------
  20. =>  (2) DELETING & INSERTING
  21.  
  22. <--             Delete previous character
  23. ^D or <DELETE>  Delete next character
  24. ^C or <INSERT>  Insert a space
  25. M-<--           Delete previous word
  26. M-D             Delete next word
  27. ^K              Close (delete) to end of line
  28. -----------------------------------------------------------------------
  29. =>  (2a) MORE DELETING & INSERTING
  30.  
  31. <RETURN>   Insert a newline             <TAB>  Advance to next tab stop
  32. ^J         Insert a newline and indent  M-^W   Delete paragraph
  33. ^O         Open (insert) line
  34. ^W         Delete region between mark (set using M-<spacebar>) and cursor
  35. M-W        Copy region to kill buffer
  36. ^X ^O      Delete blank lines around cursor
  37. -----------------------------------------------------------------------
  38. =>  (3) SEARCHING
  39.  
  40. ^S Search forward from cursor position.
  41. ^R Reverse search from cursor position.
  42. ^X S Forward incremental search
  43. ^X R Reverse incremental search
  44. <ALT> S Search for the next occurence of the last string (IBM-PC only)
  45. <ALT> R Search for the last occurence of the last string (IBM-PC only)
  46. -----------------------------------------------------------------------
  47. =>  (4) REPLACING
  48.  
  49. M-R   Replace all instances of first typed-in string with second
  50.           typed-in string.  End each string with ESC.
  51. M-^R  Replace with query.  Answer with:
  52.  ^G  cancel   .   exit to entry point
  53.  !   replace the rest  Y    replace & continue
  54.  ?   Get a list of options N   no replacement & continue
  55. -----------------------------------------------------------------------
  56. =>  (5) CAPITALIZING & TRANSPOSING
  57.  
  58. M-U UPPERCASE word
  59. M-C Capitalize word  ^T Transpose characters
  60. M-L lowercase word
  61. ^X ^L lowercase region
  62. ^X ^U uppercase region
  63. ^Q Quote next entry, so that control codes may be entered into text
  64. -----------------------------------------------------------------------
  65. =>  (6) REGIONS & THE KILL BUFFER
  66.  
  67. M-<spacebar> set MARK at current position
  68. ^X ^X  eXchange mark and cursor
  69.  
  70. A REGION will then be continuously-defined as the area between the mark and
  71. the current cursor position.  The KILL BUFFER is the text which has been
  72. most recently saved or deleted.
  73. -----------------------------------------------------------------------
  74. =>  (7) COPYING AND MOVING
  75.  
  76. ^W  Delete (Wipe) region  M-W copy region to KILL buffer
  77. ^Y  Yankback save buffer at cursor
  78. Generally, the procedure for copying or moving text is:
  79.     1)  Mark a REGION using M-<spacebar> at beginning and cursor at end.
  80.     2)  Delete it (with ^W) or copy it (with M-W) into the KILL buffer.
  81.     3)  Move the cursor to the desired location and yank it back (with ^Y).
  82. -----------------------------------------------------------------------
  83. =>  (8) MODES OF OPERATION
  84. ^X M Add mode in buffer              M-M    Add global mode
  85. ^X ^M   Delete mode in buffer           M-^M   Delete global mode
  86. OVER  Replaces (overwrites) rather than inserts characters
  87. WRAP  Turns on word wrap (automatic carriage return).
  88. VIEW  Allows viewing file without insertion and deletion.
  89. CMODE  Automatic indenting for C program entry
  90. EXACT/MAGIC Changes how search and replace commands work (see next page)
  91. -----------------------------------------------------------------------
  92. =>  (9) SEARCH AND REPLACE MODES
  93.  
  94. EXACT Uppper/lower case is not ignored in searches
  95. MAGIC   Regular pattern matching characters are active
  96.     .   Matches any one character
  97.     *   Matches any any number of the preceding character
  98.     ^   Beginning of line        [ ]   Character class enclosure
  99.     $   End of line              \     Quote next character
  100. -----------------------------------------------------------------------
  101. =>  (10) ON-SCREEN FORMATTING
  102.  
  103. ^X F  Set fill column
  104. Mn-<tab> Set tab spacing to n charecters between tabs stops
  105. M-Q  Format paragraph so that text lies between margins
  106. ^X =  Position report -- displays line number, char count,
  107.                                    file size and character under cursor
  108. M-^C  Count words/lines/chars in marked region
  109. -----------------------------------------------------------------------
  110. =>  (11) MULTIPLE WINDOWS
  111.  
  112. Many WINDOWS may be active at once on the screen.  All windows may show
  113. different parts of the same buffer, or each may display a different one.
  114. ^X 2 Split the current window in two ^X O Change to next window
  115. ^X 0    delete current window           ^X P    Change to previous window
  116. ^X 1 delete all other windows        M-^V    Page down next window
  117.                                    M-^Z Page up other window
  118. -----------------------------------------------------------------------
  119. =>  (12) CONTROLLING WINDOWS AND THE SCREEN
  120.  
  121. ^X ^    Enlarge current window   M-<n> ^X W   Resize window to <n> lines
  122. ^X ^Z   Shrink current window    M-<n> M-S    Change screen to <n> lines
  123. ^X ^N   Move window down         M-<n> M-T    Change screen to <n> columns
  124. ^X ^P   Move window up
  125. M-^L    Reposition window
  126. ^L      Refresh the screen
  127. -----------------------------------------------------------------------
  128. =>  (13) MULTIPLE BUFFERS
  129. A BUFFER is a named area containing a document being edited.  Many buffers
  130. may be activated at once.
  131. ^X B Switch to another buffer.  <CR> = use just-previous buffer
  132. ^X X Switch to next buffer in buffer list
  133. M-^N    Change name of current buffer
  134. ^X K Delete a non-displayed buffer.
  135. ^X ^B Display buffer directory in a window
  136. -----------------------------------------------------------------------
  137. =>  (14) READING FROM DISK
  138.  
  139. ^X ^F Find file; read into a new buffer created from filename.
  140.  (This is the usual way to begin editing a new file.)
  141. ^X ^R Read file into current buffer, erasing its previous contents.
  142.  No new buffer will be created.
  143. ^X ^I Insert file into current buffer at cursor's location.
  144. ^X ^V Find a file to make current in VIEW mode
  145. -----------------------------------------------------------------------
  146. =>  (15) SAVING TO DISK
  147.  
  148. ^X ^S Save current buffer to disk
  149. ^X ^W Write current buffer to disk
  150. ^X N    Change file name of current buffer
  151. M-Z Write out all changed buffers and exit MicroEMACS
  152.  
  153.  
  154. -----------------------------------------------------------------------
  155. =>  (16) ACCESSING THE OPERATING SYSTEM
  156.  
  157. ^X ! Send one command to the operating system and return
  158. ^X @ Pipe DOS command results to buffer
  159. ^X # Filter buffer through DOS filter program
  160. ^X C Start a new command processor under MicroEMACS
  161. ^X D Suspend MicroEMACS into the background (UNIX BSD4.2 only)
  162. ^X ^C Exit MicroEMACS
  163. -----------------------------------------------------------------------
  164. =>  (17) KEY BINDINGS AND COMMANDS
  165.  
  166. M-K Bind a key to a command        M-A  Describe a class of commands
  167. M-^K Unbind a key from a command
  168. ^X ? Describe command bound to a key
  169. M-X Execute a named (and possibly unbound) command
  170. {Describe-bindings}
  171.  Display a list of all commands and key bindings to a buffer
  172. -----------------------------------------------------------------------
  173. =>  (18) COMMAND EXECUTION
  174. Commands can be specified as command lines in the form:
  175.  <optional repeat count> {command-name} <optional arguments>
  176. {Execute-command-line} execute a typed in command line
  177. {Execute-buffer} executes commands lines in a buffer
  178. {Execute-file}  executes command lines from a file
  179. {clear-message-line} clears the message line during execution
  180.    M-~   clears the change flag for a buffer
  181. -----------------------------------------------------------------------
  182. =>  (19) MACRO EXECUTION
  183.  
  184. ^X ( Start recording keyboard macro
  185. ^X ) Stop recording keyboard macro
  186. ^X E Execute keyboard macro
  187. M-<n> {store-macro} Start recording named macro
  188.       !endm  Stop recording named macro
  189. {execute-macro-n} Execute macro n (where n is from 1 to 20)
  190. -----------------------------------------------------------------------
  191. =>  (20) SPECIAL KEYS
  192.  
  193. ^G  Cancel current command and return to top level of processing.
  194. ^U or  Universal repeat.  May be followed by an integer (default = 4)
  195. M-<digit> and repeats the next command that many times.
  196. M-X  Execute a named (and possibly unbound) command
  197.  
  198. -----------------------------------------------------------------------
  199. =>  (21) KEYWORDS - By Borris
  200.  
  201. The keywords offered by UEmacs seem to be as follows:
  202.  
  203. fillcol
  204. pagelen
  205. curcol
  206. curline
  207. ram
  208. flicker
  209. curwidth
  210. cbufname
  211. cfname
  212. sres
  213. debug
  214. status
  215. palette
  216. asave
  217. acount
  218. lastkey
  219. curchar
  220. discmd          Set to TRUE or FALSE; controls DISplay of CoMmanDs
  221. version
  222. progname
  223. seed
  224. disinp
  225. wline
  226. cwline
  227. target
  228. search
  229. replace
  230. match
  231. kill
  232. cmode
  233. gmode
  234. tpause
  235. pending
  236. lwidth
  237. line
  238. gflags
  239. rval
  240. add
  241. sub
  242. tim
  243. div
  244. mod
  245. neg
  246. cat
  247. lef
  248. rig
  249. mid
  250. not
  251. equ
  252. les
  253. gre
  254. seq
  255. sle
  256. sgr
  257. ind
  258. and
  259. or
  260. len
  261. upp
  262. low
  263. tru
  264. asc
  265. chr
  266. gtk
  267. rnd
  268. abs
  269. sin
  270. env
  271. bin
  272. exi
  273. fin
  274. ban
  275. bor
  276. bxo
  277. bno
  278. xla
  279. varinit
  280.